package cn.example.spring.service;

import cn.example.spring.dao.StudentDao;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * ClassName:StudentService
 * Package:cn.example.spring.service
 * Description:
 *
 * @Author:ZhangXin
 * @Create:2023/5/10-10:13
 * @Version:v1.0
 */
@Service
public class StudentService {

    @Resource(name = "studentDaoImplOracle")
//    @Resource
    private StudentDao studentDao;

    public void deleteStudent(){
        studentDao.deleteById();
    }
}
